﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="EmployInterviewUpdForm.aspx.cs" Inherits="App_Input_EmployInterviewUpdForm" Title="Untitled Page" %>
<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript">
    function popInterviewPop(id)
    {
        window.open('../Commons/EmployInterviewPop.aspx?id='+id,'EmployInterviewPop','scrollbars,resizable');
    }
    
    function jobIdChange(object)
    {
     CommonAjaxUtils.FindPositions(object.value,get_jobId_Result_CallBack);

    }
    
     function get_jobId_Result_CallBack(response)
    {
        if (response.value != null)
        {                    

            var drop = window.document.getElementById('<%=applyEmploy.ClientID %>');
            drop.length=0;　　　　            
            var ds = response.value;
            if(ds != null && typeof(ds) == "object")
            {                   
　　                drop.options.add(new Option("",""));
                for(var i=0; i<ds.length; i++)
                {
       
　　                var name=ds[i].JobName;
　　                var id=ds[i].JobId;
　　                drop.options.add(new Option(name,id));
                }                
            }
        }
        return
    }
    </script>
<table width="100%">
    <tr>
        <td colspan="8" style="height: 22px">
            <script language="javascript">
                (new TitleBar('SearchBar', '面试安排登陆')).showBar();
            </script>
        </td>
    </tr>
    <tr>
        <td colspan="8" style="height: 22px">
        </td>
    </tr>
    <tr>
        <td style="height: 24px">
        </td>
        <td style="width: 90px; height: 24px;">
        <span style="color: #ff7300">*</span>
            <asp:Label ID="Label1" runat="server" Text="姓名："></asp:Label></td>
        <td style="width: 177px; height: 24px;">
            <asp:TextBox ID="name" runat="server" MaxLength="10"></asp:TextBox></td>
        <td style="width: 108px; height: 24px;">
            <asp:Label ID="Label3" runat="server" Text="应聘部门："></asp:Label></td>
        <td style="width: 175px; height: 24px;">
            &nbsp;<asp:DropDownList ID="applyPart" runat="server" DataTextField="departName" DataValueField="departId" onchange="jobIdChange(this)">
            </asp:DropDownList></td>
        <td style="width: 79px; height: 24px;">
        <span style="color: #ff7300">*</span>
            &nbsp;<asp:Label ID="Label2" runat="server" Text="应聘职位："></asp:Label></td>
        <td style="width: 144px; height: 24px;">
            &nbsp;<asp:DropDownList ID="applyEmploy" runat="server" DataTextField="JobName" DataValueField="JobId" >
            </asp:DropDownList></td>
        <td style="height: 24px">
        </td>
    </tr>
    <tr>
        <td colspan="8" style="height: 22px">
        </td>

    </tr>
    <tr>
        <td>
        </td>
        <td style="width: 90px">
            <asp:Label ID="Label4" runat="server" Text="联系电话："></asp:Label></td>
        <td style="width: 177px">
            <asp:TextBox ID="telphone" runat="server"></asp:TextBox></td>
        <td style="width: 108px">
            <asp:Label ID="Label5" runat="server" Text="推荐渠道："></asp:Label></td>
        <td style="width: 175px">
            <asp:TextBox ID="applyMethod" runat="server"></asp:TextBox></td>
        <td style="width: 79px">
            <asp:Label ID="Label6" runat="server" Text="面试时间："></asp:Label></td>
        <td style="width: 144px">
            <asp:TextBox ID="interviewDate" runat="server" onfocus="new Calendar().show(this);"
                Width="105px"></asp:TextBox></td>
        <td>
        </td>
    </tr>
    <tr>
        <td colspan="8" style="height: 22px">
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td style="width: 90px">
            <asp:Label ID="Label7" runat="server" Text="应聘者及时性："></asp:Label></td>
        <td style="width: 177px">
            <asp:TextBox ID="onTime" runat="server"></asp:TextBox></td>
        <td style="width: 108px">
            <asp:Label ID="Label8" runat="server" Text="备注（礼仪等细节）："></asp:Label></td>
        <td style="width: 175px">
            <asp:TextBox ID="other" runat="server"></asp:TextBox></td>
        <td style="width: 79px">
            <asp:Label ID="Label9" runat="server" Text="申请编号："></asp:Label></td>
        <td style="width: 144px">
            <asp:TextBox ID="applyNo" runat="server" Width="99px"></asp:TextBox><a href="#" onclick="javascript:popInterviewPop('<%=applyNo.ClientID%>');">
                <img id="searchImg" runat="server" border="0" src="../../images/search.jpg" /></a></td>
        <td>
        </td>
    </tr>
    <tr>
        <td colspan="8" style="height: 21px">
        </td>
    </tr>
    <tr align="center">
        <td colspan="8">
            <asp:Button ID="btnLoad" runat="server" CssClass="button" OnClick="btnLoad_Click"
                Text="登 记" Width="80px" />
                &nbsp;
            <asp:Button ID="addReturn" runat="server" CssClass="button"
                    OnClick="btnReturn_Click" Text="返 回" Width="80px" /></td>
    </tr>
</table>
</asp:Content>

